package pl.edu.agh.se.carsexpertsystem.fact;


public class BaldnessFact implements Fact {
	
	private int baldnessPercent;

	public int getBaldnessPercent() {
		return baldnessPercent;
	}

	public void setBaldnessPercent(int baldnessPercent) {
		if (baldnessPercent < 0 || baldnessPercent > 100) {
			throw new IllegalArgumentException("Do you know what 'percent' means?");
		}
		this.baldnessPercent = baldnessPercent;
	}
	
}
